package streamforce.crypto.event;

/**
 * need to keep track of previous state
 */
public class TransformedCTEventAllAgg3 extends AbstractEvent{
	private int userId;
	private byte[][] originalCipher;
	private byte[][] transformedCipher;
	private byte[][] previousOriginalCipher, previousTransformedCipher; 
	private int rId; 
	
	public TransformedCTEventAllAgg3(int userId, int rpid, int ts, int hour, 
			int sid, byte[][] ct, byte[][] ct1, byte[][] poc, byte[][] ptc) {
		super(ts, hour, sid);
		this.userId = userId;
		this.originalCipher = ct;
		this.transformedCipher = ct1;
		this.previousOriginalCipher = poc;
		this.previousTransformedCipher = ptc;
		this.rId = rpid;
	}
	
	public int getrId() {
		return rId;
	}

	public void setrId(int rId) {
		this.rId = rId;
	}

	public byte[][] getPreviousOriginalCipher() {
		return previousOriginalCipher;
	}


	public void setPreviousOriginalCipher(byte[][] previousOriginalCipher) {
		this.previousOriginalCipher = previousOriginalCipher;
	}



	public byte[][] getPreviousTransformedCipher() {
		return previousTransformedCipher;
	}



	public void setPreviousTransformedCipher(byte[][] previousTransformedCipher) {
		this.previousTransformedCipher = previousTransformedCipher;
	}



	public byte[][] getTransformedCipher() {
		return transformedCipher;
	}


	public void setTransformedCipher(byte[][] transformedCipher) {
		this.transformedCipher = transformedCipher;
	}
	
	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public byte[][] getOriginalCipher() {
		return originalCipher;
	}


	public void setOriginalCipher(byte[][] originalCipher) {
		this.originalCipher = originalCipher;
	}
	
	
}
